package com.party.core.dao.read.enterpriseservice;

import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.city.City;
import com.party.core.model.enterpriseservice.EpCategory;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 服务类型数据读取
 * @Author: Hua Qunhao
 * @Date: 2019/1/8
 */
@Repository
public interface EpCategoryReadDao extends BaseReadDao<EpCategory> {

    EpCategory findEpCategoryByName(String name);

    List<EpCategory> queryEpCategoryByCity(City city);

}
